package com.hitemole.objects;

import java.util.Map;

import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.hitemole.interfaces.IInteractableObject;

public class AnimatedInteractableObject extends AnimatedGameObject implements IInteractableObject{
	
	protected Rectangle collisionShape = new Rectangle();
	protected int collisionType;
	protected boolean interaction;
	
	public AnimatedInteractableObject(String name, Map<String,Animation> animation,
			Vector2 position, int collisionType, float xScale, float yScale) {
		super(name, animation, position,xScale,yScale);
		// TODO Auto-generated constructor stub
		this.collisionType=collisionType;
		this.collisionShape.x=position.x;
		this.collisionShape.x=position.y;
		interaction=true;
	}

	@Override
	public Rectangle getCollisionShape() {
		// TODO Auto-generated method stub
		return collisionShape;
	}

	@Override
	public int getCollisionType() {
		// TODO Auto-generated method stub
		return collisionType;
	}

	@Override
	public boolean isInteractable() {
		// TODO Auto-generated method stub
		return interaction;
	}

	@Override
	public void setInteraction(Boolean interaction) {
		// TODO Auto-generated method stub
		this.interaction=interaction;
	}}
